<form class="form-horizontal">
    <div class="form-group">
        <label class="col-xs-3 control-label">占位说明</label>
        <div class="col-xs-9">
            <input class="form-control" name="placeholder" value="${preferences['placeholder']}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-xs-3 control-label">高度</label>
        <div class="col-xs-9">
            <input class="form-control" name="height" value="${preferences['height']}">
        </div>
    </div>
    <#--<div class="form-group">
        <label class="col-xs-3 control-label">校验字符串</label>
        <div class="col-xs-9">
            <input class="form-control" name="validation" value="${preferences['validation']}">
        </div>
    </div>-->

    <div class="form-group">
        <label for="inputEmail3" class="col-xs-2 control-label">校验规则</label>
        <div class="col-xs-10">
            <label class="checkbox-inline">
                <input type="checkbox" name="validation" value="required" <#if preferences['validation']?contains("required")>checked</#if> >
                必填
            </label>
        </div>
    </div>

    <div class="form-group">
        <label for="inputEmail3" class="col-xs-2 control-label">长度</label>
        <div class="col-xs-10">
            <input type="input" name="minSize" value="${preferences['minSize']}" style="width: 50px">
            到
            <input type="input" name="maxSize" value="${preferences['maxSize']}" style="width: 50px">
        </div>
    </div>

</form>